home *** CD-ROM | disk | FTP | other *** search
- Gradient Form Background Control
- ================================
-
- To create a gradient background on a form,
- add this control to the form and set the
- following properties:
-
-
- Enabled True = Gradient background will be displayed.
- False = Gradient background will not be displayed.
-
- StartColor The top-most (or left-most) color of the gradient.
-
- EndColor The bottom-most (right-most) color of the gradient.
-
- Steps The number of gradient shade differences that
- will be used to between the starting color and
- ending color.
-
- Orientation The direction of the gradient.
- 1 = Vertical (top to bottom)
- 2 = Horizontal (left to right)
-
-
- The method 'Refresh' will cause the control to redraw the
- gradient effect. This method should be called during your
- form's Resize event.
-
- Additionally, the gradient control works best when the
- container form's AutoRedraw property is set to True.
-
- Notes: The control can only be placed on a standard
- non-MDI form. It will not work on any other
- type of container.
-